#include"head.h"
#include<stdio.h>
#include<stdlib.h>
void main(){
char file[1000]="123.txt";
char c,a[1000]={0};
FILE *f;
int i=0,m,line=0;
f=fopen(file,"r");
if(file==NULL){
printf("error!");
return;
}
c = fgetc(f);
while(c != EOF)
{
a[i]=c;
c = fgetc(f);
i++;
}
fclose(f);
m=i;
for(i=15;i<=m;)
{
printf("%07x",line);
myod1(a,i);
printf("        ");
myod2(a,i);
i=i+16;
line=line+32;
}
printf("%07x\n",line);
}
